Cloud server, control equipment and method for audio and video synchronization

ABSTRACT

A method in control equipment for synchronizing audio and video acquires an identifier of playback equipment. Information as to audio and video formats for the playback equipment is acquired playback and a first time delay data corresponding to the audio data and video data from the cloud server is set according to the identifier, the audio format information and the video format information. A first delay time between the audio data and video data according to the first time delay data acquired from the cloud server is set for the implementation of audio and video synchronization.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to Chinese Patent Application No.201510333713.4 filed on Jun. 16, 2015, the contents of which areincorporated by reference herein.

FIELD

The subject matter herein generally relates to audio and videoprocessing and synchronization.

BACKGROUND

With the development of audio and video processing technology, highdefinition multimedia interface (HDMI) audio and video programs becomepopular. When watching HDMI media programs, in contrast to justlistening to music, more time is needed for a video processing by aplayback equipment, maintaining audio and video synchronization isproblematic.

BRIEF DESCRIPTION OF THE DRAWINGS

Implementations of the present technology will now be described, by wayof example only, with reference to the attached figures, wherein:

FIG. 1 illustrates a diagrammatic view of an embodiment of a controlequipment 10 and a cloud server 20.

FIG. 2 illustrates a diagrammatic view of an embodiment of a performancestandard for audio and video synchronization.

FIG. 3 illustrates a block diagram of an embodiment of function modulesof the control equipment 10 and the cloud server 20.

FIG. 4 illustrates a diagrammatic view of an embodiment of the controlequipment 10 automatically detecting time delay of audio data and videodata.

FIG. 5 illustrates a block diagram of another embodiment of functionmodules of the control equipment 10 and the cloud server 20.

FIG. 6 illustrates a flowchart of an embodiment of a method for audioand video synchronization implemented by the control equipment 10.

FIG. 7 illustrates a flowchart of an embodiment of a method for audioand video synchronization implemented by the cloud server 20.

DETAILED DESCRIPTION

It will be appreciated that for simplicity and clarity of illustration,where appropriate, reference numerals have been repeated among thedifferent figures to indicate corresponding or analogous elements. Inaddition, numerous specific details are set forth in order to provide athorough understanding of the embodiments described herein. However, itwill be understood by those of ordinary skill in the art that theembodiments described herein can be practiced without these specificdetails. In other instances, methods, procedures, and components havenot been described in detail so as not to obscure the related relevantfeature being described. Also, the description is not to be consideredas limiting the scope of the embodiments described herein. The drawingsare not necessarily to scale and the proportions of certain parts may beexaggerated to better illustrate details and features of the presentdisclosure.

References to “an” or “one” embodiment in this disclosure are notnecessarily to the same embodiment, and such references mean “at leastone.”

In general, the word “module” as used hereinafter, refers to logicembodied in computing or firmware, or to a collection of softwareinstructions, written in a programming language, such as, Java, C, orassembly. One or more software instructions in the modules may beembedded in firmware, such as in an erasable programmable read onlymemory (EPROM). The modules described herein may be implemented aseither software and/or computing modules and may be stored in any typeof non-transitory computer-readable medium or other storage device. Somenon-limiting examples of non-transitory computer-readable media includeCDs, DVDs, BLU-RAY, flash memory, and hard disk drives. The term“comprising”, when utilized, means “including, but not necessarilylimited to”; it specifically indicates open-ended inclusion ormembership in a so-described combination, group, series and the like.

FIG. 1 illustrates a diagrammatic view of an embodiment of a controlequipment 10 and a cloud server 20. In the embodiment, the appliedenvironment includes, but is not limited to, a control equipment 10, acloud server 20, at least one playback equipment 30, a digital audiodecoder 40, an amplifier 50, and at least one soundbox 60. The playbackequipment 30 and soundbox 60 are examples of playback devices, but arenot limited thereto. The cloud server 20 is electrically connected to acontrol equipment 10. The control equipment 10 is electrically connectedto a display 300 of the playback equipment 30 by a high-definitionmultimedia interface (HDMI), electrically connected to a speaker 302 ofthe playback equipment 30 by an analog audio connector, and electricallyconnected to the digital audio decoder 40 by a digital audio connector.The digital audio decoder 40 is electrically connected to the amplifier50, and the amplifier 50 is electrically connected to the soundbox 60.

FIG. 2 illustrates the implementation of a performance standard foraudio and video synchronization. In the coordinate graphs, horizontalcoordinates represents a gap between an audio time and a video time. The0 ms represents no gap between audio time and video time, the +50 msrepresents that audio time is in advance of the video time by 50 ms, and−50 ms represents that audio time is behind the video time by 50 ms. Acoordinate gap between A and A′ represents a acceptable performancethreshold of delay time synchronization. A coordinate gap between B andB′ represents that in the International Telecommunication Union WirelessCommunication Group open standard BT.1359, 45 ms can be a threshold timefor audio time being in advance of the video time, and 125 ms can be thethreshold time that audio time can lag behind the video time. Thesethresholds are one condition of synchronization performance. Acoordinate gap between C and C′ represents stable synchronization ofaudio and video requiring no performance testing.

FIG. 3 illustrates a block diagram of an embodiment of function modulesof the the control equipment 10 and the cloud server 20. The controlequipment 10 includes an acquiring module 100, an adjustingmodule 102, adetermining module 104, and a communicating module 106. The cloud server20 includes a prestoring module 200, a receiving module 202, a detectingmodule 204.

The acquiring module 100 acquires an extended display identificationdata of the playback equipment 30. The extended display identificationdata includes a time delay table, and the time delay table includes anidentifier of the playback equipment 30, an audio time delay, a videotime delay, an interlacing audio time delay, and an interlacing videotime delay. The acquiring module 100 acquires a first format informationof the audio transmitted by the control equipment 10 and a second formatinformation of the video transmitted by the control equipment 10, andacquires a first time delay data corresponding to the audio data andvideo data from the cloud server 20 according to the identifier, thefirst format information of the audio, and the second format informationof the video.

The adjusting module 102 sets a first delay time of the audio data andvideo data according to the first time delay data acquired from thecloud server 20 to implement the audio and video synchronization. Delaytime setting includes a first synchronization between HDMI audio dataand HDMI video data, a second synchronization between digital audio dataand digital video data, and a third synchronization between analog audiodata and analog video data.

The determining module 104 determines whether an audio and videosynchronization is implemented. When audio and video synchronization isimplemented, the communicating module 106 transmits a second time delaydata corresponding to the audio data and video data presently to thecloud server 20. Otherwise, when audio and video synchronization is notimplemented, the determining module 104 determines whether the controlequipment 10 has a function of detecting time delay between audio dataand video data. When the control equipment 10 has the function ofdetecting such time delay, the time delay test function of the controlequipment 10 will be enabled. In the embodiment, the time delay testfunction is excuted by a video detecting module 108 and an audiodetecting module 110. The adjusting module 102 does a adjustment toimplement audio and video synchronization according to the third timedelay data after the video detecting module 108 and the audio detectingmodule 110 acquire a third time delay data corresponding to the audiodata and video data tested automatically. Then, the determining module104 determines whether an audio and video synchronization isimplemented. When the audio and video synchronization is notimplemented, a user interface will automatically display. When audio andvideo synchronization is implemented, the communicating module 106transmits the second time delay data corresponding to the audio data andvideo data presently to the cloud server 20. When the control equipment10 has no function of detecting time delay between audio and video, anda fourth time delay data set by users on the interface which wasautomatically displayed will be acquired continuously. Theadjustingmodule 102 evaluates audio and video synchronization accordingto the third time delay data until the audio data and video datasynchronization is implemented, and transmits the third time delay datato the cloud server 20. The cloud server 20 receives and updates thethird time delay data.

A working process is as follows. The prestoring module 200 of the cloudserver 20 prestores a time delay table, wherein the time delay tablestores a first delay time of the audio data and video data of differentplayback equipments with the process of starting audio, video decoding,and playback back different formats of audio data and video data. Theplayback equipments can be distinguished through their identifiers.

The time delay table provides a first time delay data for the controlequipment 10. The receiving module 202 of the cloud server 20 receivesthe extended display identification data of the playback equipment 30and a second time delay data returned by the control equipment 10. Thedetecting module 204 determines whether the second time delay datareturned by the playback equipment is automatically detected by thecontrol equipment 10. When the second time delay data returned by theplayback equipment is automatically detected by the control equipment,the detecting module 204 updates the time delay table correspondingly.When multiple sets of data for second time delay are automaticallydetected, the detecting module 204 calculates a mean value of themultiple sets and updates the time delay value corresponding to theplayback equipment at the time delay table according to the mean value.

When the second time delay data returned by the playback equipment isnot automatically detected, the detecting module 204 determines whetherthe first time delay data is set by users. When the first time delaydata is not set by users, the detecting module 204 acquires a third timedelay data according to the extended display identification data of theplayback equipment 30 and transmits the third time delay data to thecontrol equipment 10. Otherwise, when the time delay data is set byusers, the detecting module 204 determines whether the first time delaydata set by users is within a predetermined range. When the first timedelay data set by users is within a predetermined range, the detectingmodule 204 classifies the first time delay data into groups according tothe identifier, the first format information of the audio, and thesecond format information of the video, counts a quantity of each of thegroups and determines whether the quantity exceeds a predeterminedvalue. When the quantity exceeds the predetermined value, the detectingmodule 204 calculates the mean value according to the first time delaydata set by users and updates the time delay table correspondingly,according to the mean value. For example, the detecting module 204 candetermine whether the first time delay data is smaller than half of thesecond time delay data of the cloud server or is larger than twice thesecond time delay data of the cloud server. The detecting module 204does no processing when the first time delay data is smaller than halfof the second time delay data of the cloud server or is larger thantwice the second time delay data of the cloud server. However, when thefirst time delay data is between half of the second time delay data ofthe cloud server and twice the value of the second time delay data ofthe cloud server, the detecting module 204 classifies the first timedelay data into groups according to theidentifier, the first formatinformation of the audio, and the second format information of thevideo. There may be many varieties of playback equipment, the audioformat, and the video format. Different users use different playbackequipments to play different types of audio data and video data. Thefirst time delay data is set differently when users use differentplayback equipments to play different audio data and video data. Thecloud server 20 is connected to multiple control equipments, so thecloud server 20 can receive multiple first time delay data sets byseveral users using the same kind of playback equipment. In order toincrease accuracy of time delay data, the detecting module 204calculates the mean value according to the first time delay datareceived by multiple control equipment and sets the mean value as thenew time delay data.

FIG. 4 illustrates a diagrammatic view of an embodiment of the controlequipment 10 automatically detecting time delay between audio data andvideo data. The control equipment 10 sends the same audio data and videodata to the playback equipment 30 by a HDMI connector. For example, whenvideo data is switched from full screen of black to full screen ofblank, audio data is transmitted with the video data being transmitted.The playback equipment 30 receives audio data and video data from thecontrol equipment 10, transmits the video data to a display 300 toplayback and transmits the audio data to a speaker to play back. Thevideo detecting module 108 receives a first command from the controlequipment 10 to detect the brightness, and the audio detecting module110 receives a second command from the control equipment 10 to detectthe audio data. The video detecting module 108 detects a first switchingtime when the the brightness level changes and transmits the firstswitching time to the control equipment 10. The audio detecting module110 detects a second switching time when the the voice level changes andtransmits the second switching time to the control equipment 10. Thecontrol equipment 10 compares value of difference between the firstswitching time and the second switching time, so the time delay of thecontrol equipment 10 can be controlled according to the differencevalue. For example, when audio time is in advance of the video time byXms, the control equipment 10 controls the time delay of the audio to beXms so that the playback equipment 30 can keep the audio and videosynchronous. When audio time is lagging behind the video time by Yms,the control equipment 10 controls the time delay of the video to be Ymsso that the playback equipment 30 can synchronize audio and video.

FIG. 5 illustrates a block diagram of another embodiment of functionmodules of the control equipment 10 and the cloud server 20. In theembodiment, the control equipment 10 includes an acquiring module 100, adetermining module 104, a communicating module 106, a handling module112, and a storing module 114. The cloud server 20 includes a prestoringmodule 200, a receiving module 202, a detecting module 204, a processor206, and a storage 208. The acquiring module 100, the determining module104, the communicating module 106, the prestoring module 200, thereceiving module 202, and the detecting module 204 are configured tohave the functions illustrated in FIG. 3.

FIG. 6 illustrates a flowchart of an embodiment of a method for audioand video synchronization implemented by the control equipment 10. Themethod can be implemented by the function modules 100-106 as in FIG. 3or by the function modules 100-114 as in FIG. 5. The processor 206executes these modules to realize the flowchart. The flowchart isprovided by way of example, as there are a variety of ways to carry outthe flowchart. The flowchart described below can be carried out usingthe configurations illustrated in FIG. 6, for example, and variouselements of these figures are referenced in explaining the flowchart.Each block shown in FIG. 6 represents one or more processes, methods, orsubroutines, carried out in the exemplary flowchart. Additionally, theillustrated order of blocks is by example only and the order of theblocks can change. The flowchart can begin at block 400.

At block 600, the acquiring module 100 of the control equipment 10acquires an extended display identification data of the playbackequipment 30 and a first format information of audio data and a secondformat information of video data transmitted by the control equipment10.

At block 602, the acquiring module 100 acquires a first time delay datacorresponding to the audio data and video data from the cloud server 20according to the identifier, the first format information of the audioand the second format information of the video.

At block 604, the adjusting module 102 sets a first delay time of theaudio data and video data according to the first time delay dataacquired from the cloud server 20 to implementing audio and videosynchronization.

At block 606, the determining module 104 determines whether audio andvideo synchronization is implemented. When audio and videosynchronization is implemented, block 616 will be excuted.

At block 608, when audio and video synchronization is implemented, thedetermining module 104 determines whether the control equipment 10 has afunction of detecting time delay of audio data and video data. When thecontrol equipment 10 has the function of detecting time delay of audiodata and video data, the time delay test function of the controlequipment 10 will be enabled. In the embodiment, the time delay testfunction is excuted by a video detecting module 108 and an audiodetecting module 110.

At block 610, when the control equipment 10 has no function of detectingtime delay of audio data and video data, the user-set interface will bedisplayed for setting time delay data, and a second time delay data setby users will be acquired continuously.

At block 612, the determining module 104 determines whether audio andvideo synchronization is implemented. When audio and videosynchronization is implemented, block 616 will be excuted.

At block 614, the determining module 104 determines whether audio andvideo synchronization is implemented. When audio and videosynchronization is not implemented, the adjusting module 102 does ajudgment to implement audio and video synchronization according to thesecond time delay data until audio and video synchronization is notimplemented, and transmits a third time delay data to the cloud server20. The cloud server 20 receives and updates the third time delay data.

At block 616, the communicating module 106 transmits a fourth time delaydata corresponding to the audio data and video data presently to thecloud server 20.

FIG. 7 illustrates a flowchart of an embodiment of a method for audioand video synchronization implemented by the cloud server 20.Additionally, the illustrated order of blocks is by example only and theorder of the blocks can change. The flowchart can begin at block 700.

At block 700, the prestoring module 200 of the cloud server 20 prestoresa time delay table, wherein the time delay table stores a first delaytime of the audio data and video data of different playback equipmentswith the process of starting audio, video decoding and playing fordifferent formats of audio data and video data. The playback equipmentscan be distinguished through their identifiers. The time delay tableprovides a first time delay data for the control equipment 10.

At block 702, the receiving module 202 of the cloud server 20 receivesthe extended display identification data of the playback equipment 30

At block 704, the receiving module 202 of the cloud server 20 receives asecond time delay data returned by the control equipment 10.

At block 706, the detecting module 204 determines whether a third timedelay data returned by the playback equipment is automatically detectedby the control equipment 10.

At block 708, when the third time delay data returned by the playbackequipment is automatically detected by the control equipment, thedetecting module 204 updates the time delay table correspondingly. Whenmultiple third time delay data are automatically detected, the detectingmodule 204 calculates a mean value according to the third multiple timedelay data and updates the time delay value corresponding to theplayback equipment at the time delay table according to the mean value.

At block 710, when the third time delay data returned by the playbackequipment is not automatically detected, the detecting module 204determines whether the third time delay data is set by users.

At block 712, when the third time delay data is not set by users, thedetecting module 204 acquires a fourth time delay data according to theextended display identification data of the playback equipment 30 andtransmits the fourth time delay data to the control equipment 10.

At block 714, when the time delay data is set by users, the detectingmodule 204 determines whether the third time delay data set by users iswithin a predetermined range. When the third time delay data set byusers is not within a predetermined range, nothing is need to do.

At block 716, when the third time delay data set by users is within apredetermined range, the detecting module 204 classifies the third timedelay data into groups according to the identifier, the first formatinformation of the audio and the second format information of the video,counts a quantity value of each of the groups, calculates the mean valueaccording to the third time delay data set by users and updates the timedelay table correspondingly according to the mean value.

Currently, there may be many varieties of playback equipment, the audioformat, and the video format. Different users use different playbackequipments to play different audio data and video data. The third timedelay data is set differently when users use different playbackequipments to play different audio data and video data. The cloud server20 is connected to multiple control equipments, so the cloud server 20can receive multiple third time delay data set by severial users usingthe same kind of playback equipment. In order to increase accuracy oftime delay data, the detecting module 204 calculates the mean valueaccording to the third time delay data received by multiple controlequipments and sets the mean value as the new time delay data.

By executing blocks above, the control equipment 10, the cloud server 20and the method of implementing audio and video synchronization canimprove a shortcoming that at HDMI criterion audio data and video datasynchronization and acquire the optimum time delay data to implementaudio and video synchronization according to the identifier, the firstformat information of the audio and the second format information of thevideo of the playback equipment. The cloud server 20 can receivemultiple time delay data automatically detected by the control equipmentor set by users and calculate a mean value according to the multipletime delay data, furthermore, the cloud server 20 updates the time delayvalue corresponding to the playback equipment at the time delay tableaccording to the mean value to solve the problem that audio and videosynchronization is not implemented when users watch HDMI multimediaimage.

The embodiments shown and described above are only examples. Manydetails are often found in the art such as the other features of adevice and method for handing multimedia situation. Therefore, many suchdetails are neither shown nor described. Even though numerouscharacteristics and advantages of the present technology have been setforth in the foregoing description, together with details of thestructure and function of the present disclosure, the disclosure isillustrative only, and changes may be made in the detail, especially inmatters of shape, size, and arrangement of the parts within theprinciples of the present disclosure, up to and including the fullextent established by the broad general meaning of the terms used in theclaims. It will therefore be appreciated that the embodiments describedabove may be modified within the scope of the claims.

What is claimed is:
 1. A control equipment electronically connected to acloud server and a playback equipment, wherein the control equipmenttransmits audio data and video data, the control equipment comprising:at least one processor; a storage unit; and one or more programs thatare stored in the storage unit and executed by the at least oneprocessor, the one or more programs comprising instructions for:acquiring an identifier of the playback equipment; acquiring a firstformat information of the audio data transmitted by the controlequipment and a second format information of the video data transmittedby the control equipment; acquiring a first time delay datacorresponding to the audio data and video data from the cloud serveraccording to the identifier, the first format information and the secondformat information; and setting a first delay time of the audio data andvideo data according to the first time delay data acquired from thecloud server to implement audio and video synchronization.
 2. Thecontrol equipment as claimed in claim 1, wherein the one or moreprograms further comprises instructions for: determining whether theaudio and video synchronization is implemented; transmitting a secondtime delay data corresponding to the audio data and video data to thecloud server when the audio and video synchronization is implemented. 3.The control equipment as claimed in claim 2, wherein the one or moreprograms further comprises instructions for: detecting a third delaytime of audio processing of the playback equipment when audio and videosynchronization is implemented; detecting a fourth delay time of videoprocessing of the playback equipment when audio and videosynchronization is implemented; and setting a fifth delay time of theaudio data and video data according to the second delay time of audioprocessing and the third delay time of video processing.
 4. The controlequipment as claimed in claim 3, wherein the one or more programsfurther comprises instructions for: providing a user interface forsetting a third time delay data when audio and video synchronization isnot implemented; setting a sixth delay time of the audio data and videodata according to the third time delay data.
 5. A cloud serverelectronically connected to a control equipment and a playbackequipment, wherein the control equipment transmits audio data and videodata, the cloud server comprising: at least one processor; a storageunit; and one or more programs that are stored in the storage unit andexecuted by the at least one processor, the one or more programscomprising instructions for: pre-storing a time delay table, wherein thetime delay table stores a first delay time of the audio data and videodata of different playback equipment with the process of starting audio,video decoding and playing for different formats of audio data and videodata; receiving an identifier uploaded by the playback equipment;receiving a first format information of the audio data and a secondformat information of video data transmitted by the playback equipment;acquiring a first time delay data corresponding to the audio data andvideo data from the time delay table according to the identifier, thefirst format information of the audio data and the second formatinformation of the video data; and transmitting the first time delaydata to the control equipment.
 6. The cloud server as claimed in claim5, wherein the one or more programs further comprises instructions for:acquiring a second time delay data from the playback equipment;determining whether the second time delay data returned by the playbackequipment is automatically detected by the control equipment; andupdating the time delay table correspondingly when the second time delaydata returned by the playback equipment is automatically detected by thecontrol equipment.
 7. The cloud server as claimed in claim 6, whereinthe one or more programs further comprises instructions for: calculatinga mean value according to the multiple second time delay data whenmultiple second time delay data are automatically detected; and updatinga first time delay value corresponding to the playback equipment at thetime delay table according to the mean value.
 8. The cloud server asclaimed in claim 6, wherein the one or more programs further comprisesinstructions for: determining whether the first time delay data is setby users; determining whether the first time delay data is within apredetermined threshold range when the first time delay data is set byusers; classifying the first time delay data into groups according tothe identifier, the first format information of the audio and the secondformat information of the video when the first time delay data is withina predetermined range; counting a quantity value of each of the groups;determining whether the quantity value exceeds a predetermined value;calculating the mean value according to the first time delay data whenthe quantity value exceeds the predetermined value; and updating thetime delay table correspondingly according to the mean value.
 9. Amethod of implementing audio and video of control equipmentsynchronization, wherein the control equipment is electronicallyconnected to a cloud server and a playback equipment, wherein thecontrol equipment transmits audio data and video data to the playbackequipment, the method comprising: acquiring an identifier of theplayback equipment; acquiring a first format information of the audiodata transmitted by the control equipment and a second formatinformation of the video data transmitted by the control equipment;acquiring a first time delay data corresponding to the audio data andvideo data from the cloud server according to the identifier, the firstformat information of the audio data and the second format informationof the video data; and setting a first delay time of the audio data andvideo data according to the first time delay data acquired from thecloud server to implement audio and video synchronization.
 10. Themethod as claimed in claim 9, wherein the method further comprising:determining whether audio and video synchronization is implemented;transmitting a second time delay data corresponding to the audio dataand video to the cloud server when audio and video synchronization isimplemented.
 11. The method as claimed in claim 10, wherein the methodfurther comprising: detecting a third delay time of audio processing ofthe playback equipment when audio and video synchronization isimplemented; and detecting a fourth delay time of video processing ofthe playback equipment when audio and video synchronization isimplemented; and setting a fifth delay time of the audio data and videodata according to the third delay time of audios processing and thefourth delay time of video processing.
 12. The method as claimed inclaim 11, wherein the method further comprising: providing a userinterface for setting a third time delay data when audio and videosynchronization is implemented; setting a sixth delay time of the audiodata and video data according to the third time delay data.
 13. A methodof implementing audio and video of a cloud server synchronization,wherein the cloud server is electronically connected to a controlequipment and a playback equipment, wherein the control equipmenttransmits audio data and video data to the playback equipment, themethod comprising: pre-storing a time delay table, wherein the timedelay table stores a first delay time of the audio data and video dataof different playback equipment with the process of starting audios,video decoding and playing for different formats of audio data and videodata; receiving an identifier uploaded by the playback equipment;receiving a first format information of the audio data and a secondformat information of video data transmitted by the playback equipment;acquiring a first time delay data corresponding to the audio data andvideo data from the time delay table according to the identifier, thefirst format information of the audio data and the second formatinformation of the video data; and transmitting a second time delay datato the control equipment.
 14. The method as claimed in claim 13, whereinthe one or more programs further comprises instructions for: acquiring athird time delay data returned by the playback equipment; determiningwhether the third time delay data returned by the playback equipment isautomatically detected by the control equipment; and updating the timedelay table correspondingly when the third time delay data returned bythe playback equipment is automatically detected by the controlequipment.
 15. The method as claimed in claim 14, wherein the one ormore programs further comprises instructions for: calculating a meanvalue according to the multiple third time delay data when multiplethird time delay data are automatically detected; and updating the timedelay value corresponding to the playback equipment at the time delaytable according to the mean value.
 16. The method as claimed in claim14, wherein the one or more programs further comprises instructions for:determining whether the third time delay data is set by users;determining whether the third time delay data is within a predeterminedrange when the third time delay data is set by users; classifying thethird time delay data into groups according to the identifier, the firstformat information of the audio data and the second format informationof the video data when the third time delay data is within apredetermined threshold range; counting a quantity value of each of thegroups; determining whether the quantity value exceeds a predeterminedvalue; calculating the mean value according to the third time delay datawhen the quantity value exceeds the predetermined value; and updatingthe time delay table correspondingly according to the mean value.